namespace Tomahawk.Runtime.Input.Pattern
{
    public struct PGamePadDPad
    {
        public PButtonState Down;
        public PButtonState Left;
        public PButtonState Right;
        public PButtonState Up;

        public override int GetHashCode()
        {
            return Down.GetHashCode() ^ Left.GetHashCode() ^ Right.GetHashCode() ^ Up.GetHashCode();
        }
    }
}
